package com.ruoyi.file.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * 华为云对象存储服务
 *
 * @author ZhangYu
 */
@Data
@Component
@ConfigurationProperties(prefix = "huaweiyun.obs")
public class HuaWeiObsConfig {

    /**
     * 地址
     */
    private String endPoint;

    /**
     * Access Key Id
     */
    private String accessKeyId;

    /**
     * Secret Access Key
     */
    private String secretAccessKey;

    /**
     * 桶名称
     */
    private String bucketName;

}
